//
//  ImageModel.m
//  PersonalCenter
//
//  Created by 李春阳 on 2018/5/18.
//  Copyright © 2018年 Yan Ding. All rights reserved.
//

#import "ImageModel.h"

@implementation ImageModel

- (void)encodeWithCoder:(NSCoder *)encoder {
    //Encode properties, other class variables, etc
    [encoder encodeObject:self.headImage forKey:@"headImage"];
}

- (id)initWithCoder:(NSCoder *)decoder {
    if((self = [super init])) {
        //decode properties, other class vars
        self.headImage = [decoder decodeObjectForKey:@"headImage"];
    }
    return self;
}
@end
